form.gsc-search-box {
    margin:0!important;
}
form.gsc-search-box table {
    margin:0!important;
}
table.gsc-search-box {
    margin:0!important;
}
.gsc-search-box td {
    padding:0!important;
    border:none!important;
}
.gsc-input-box {
    border:none!important;
    height:auto!important;
}
input.gsc-input {
    max-width:none!important;
    font-size:1em!important;
    background:#000!important; /* to override inline styles */
    color:#bebebe!important; /* to override inline styles */
    padding:2px 16px 2px 8px!important;
    border:none!important;
    height:auto!important;
}
.gsc-search-box-tools .gsc-search-box .gsc-input {
    padding:0 10px 0 10px!important;
}
.gsst_a {
    position:relative!important;
    padding:0!important;
    text-decoration:none!important;
    background:none!important;
}
a.gsst_a:active,a.gsst_a:focus,a.gsst_a:hover {
    background:none!important;
}
.gsst_a .gscb_a {
    display:block!important;
    margin-top:2px!important;
    color:#afb73d!important;
}
.gsst_a:focus .gscb_a, .gsst_a:hover .gscb_a {
    background:none!important;
    color:#fff!important;
}
input.gsc-search-button {
    border-color:#6e6e6e!important;
    background-color:#6e6e6e!important;
    color:#fff!important;
    border-radius:0!important;
    margin:0!important;
    display:block!important;
}
input.gsc-search-button:hover, input.gsc-search-button:focus {
    border-color:#828282!important;
    background-color:#828282!important;
}
.cse .gsc-search-button input.gsc-search-button-v2, input.gsc-search-button-v2 {
    padding:6px 8px!important;
}
.gsc-completion-container {
    background:#000!important;
    border-color:#3b3b3b!important;
    font-size:1em!important;
}
.gsc-completion-selected {
    background:#333!important;
}
/***************/
.gsc-control-wrapper-cse {
    line-height:1.3!important;
}
.gsc-control-wrapper-cse *{
    color:inherit!important;
}
.gsc-above-wrapper-area {
    border:none!important;
}
.gsc-above-wrapper-area-container td {
    padding:0!important;
}
.gsc-above-wrapper-area th,.gsc-above-wrapper-area td {
    border-color:#3b3b3b!important;
    border-width:0 0 1px!important;
}
.gsc-above-wrapper-area-container,.gsc-resultsHeader {
    margin:0!important;
}
.gsc-above-wrapper-area-container td {
    padding-bottom:10px!important;
    line-height:1.3!important;
}
.gsc-result-info {
    padding:0!important;
}
.gsc-selected-option-container {
    background:inherit!important;
    border:1px solid #3b3b3b!important;
    border-radius:0!important;
    color:#fff!important;
}
.gsc-adBlock {
    display:none!important; /* This is only here as using free account while developing, in production ads won't appear anyway */
}
.cse .gsc-control-cse,
.gsc-control-cse {
    padding: 0!important;
    width: auto!important;
}
.gsc-control-cse {
    background:inherit!important;
    border:none!important;
}
.gsc-result .gs-title {
    height:auto!important;
    line-height:1.5!important;
    text-decoration:none!important;
}
.gsc-result .gs-title:hover {
    text-decoration:underline!important;
}
.gsc-url-top {
    line-height:1.3!important;
    margin-bottom:4px!important;
}
.gsc-wrapper th, .gsc-wrapper td {
    border:none!important;
}
.gsc-webResult.gsc-result, .gsc-results .gsc-imageResult,
.gsc-webResult.gsc-result:hover, .gsc-imageResult:hover {
    background:inherit!important;
    border-width:0 0 1px!important;
    border-color:#3b3b3b!important;
}
.gs-webResult.gs-result a.gs-title:visited, .gs-webResult.gs-result a.gs-title:visited b, .gs-imageResult a.gs-title:visited, .gs-imageResult a.gs-title:visited b, .gs-result .gs-title, .gs-result .gs-title * {
    color:#fff!important;
}
.gs-webResult div.gs-visibleUrl, .gs-imageResult div.gs-visibleUrl {
    color:#afb73d!important;
}
.gs-webResult .gs-snippet, .gs-imageResult .gs-snippet, .gs-fileFormatType {
    color:#bebebe!important;
}
.gsc-table-result {
    margin:0!important;
}
.gsc-table-result th,.gsc-table-result td {
    padding:0!important;
}
.gs-image-box.gs-web-image-box.gs-web-image-box-landscape,
.gs-image-box.gs-web-image-box.gs-web-image-box-portrait {
    width:100px!important;
    height:auto!important;
    margin-right:16px!important;
}
.gs-web-image-box-landscape img.gs-image, .gs-web-image-box-portrait img.gs-image {
    width:100%!important;
    max-width:100%!important;
    max-height:none!important;
}
.gsc-table-result, .gsc-thumbnail-inside, .gsc-url-top {
    padding-left:0!important;
}
.gs-image {
    display:inline-block!important;
}
.gsc-cursor-box {
    text-align:center!important;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page {
    display:inline-block!important;
    border:none!important;
    background:inherit!important;
    color:#afb73d!important;
}

.gsc-results .gsc-cursor-box .gsc-cursor-page:hover {
    color:#fff!important;
}

.gs-result img.gs-image, .gs-result img.gs-promotion-image {
    border:none!important;
}
.gsc-results .gsc-cursor-box {
    margin:10px 0!important;
}

.gsc-control-cse .gsc-option-menu {
    background:#000!important;
    color:#bebebe!important;
    border-color:#3b3b3b!important;
}
.gsc-option-menu-item-highlighted {
    background:#000!important;
    color:#fff!important;
    text-decoration:underline!important;
    border:none!important;
}
